package com.proton.carepatchtemp.utils;

import android.content.Context;
import android.content.pm.PackageManager;

/**
 * Created by Api on 2016/9/22.
 */

public class BleHelper {
    //检查设备是否支持BLE
    public static boolean supportBle(Context mContext) {
        try {
            return mContext.getPackageManager().hasSystemFeature(PackageManager.FEATURE_BLUETOOTH_LE);
        } catch (Throwable e) {
        }
        return false;
    }
}
